<template>
	<div class="client-panel">
		<div v-if="isLogin" class="login-container">
      <!-- login-form -->
      <h1>欢迎登录</h1>
      <form action=""></form>
      <!-- <form class="login-form" id="login_form" action="/login/" method="POST">
        <ul>
          <a href="javascript:void(0);" class="login-title login-mobile login-activate" onclick="changeLoginBy(0)">手机登录</a>
          <a href="javascript:void(0);" class="login-title login-email" onclick="changeLoginBy(1)">邮箱登陆</a>
        </ul>
        <input class="login-input-box {% if form.errors.username %}error-input{% endif %}" id="login_input_account" type="tel" placeholder="请输入手机号" name="username" autofocus>
        <label class="login-error-msg">{{ form.errors.username }}</label>
        <input class="login-input-box {% if form.errors.password %}error-input{% endif %}" type="password" placeholder="请输入密码" name="password">
        <label class="login-error-msg">{{ form.errors.password }}</label>
        <label class="login-error-msg">{{ error }}</label>
        <input class="login-submit" type="submit" name="login_type" value="手机登录">

        <div class="login-input-box-other">
          <a type="span" href="javascript:void(0);" class="login-checkbox-session"></a>
          <a href="javascript:void(0);">15天内免登录</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="">忘记密码？</a>
          <a href="/register/">去注册&nbsp;&gt;</a>
        </div>
      </form> -->
    </div>
		<!-- 登录 / 注册 -->
		<div v-el class="login-container">
			<h1>我要注册</h1>
      <!-- register-form -->
      <!-- <form class="login-form register-form" id="register_form" action="/register/" method="POST">
        <h1 class="login-title">手机号注册</h1>
        <input class="login-input-box" type="text" placeholder="请输入手机号" name="username" autofocus>
        <div class="input-box-verify">
          <input type="text" class="register-input-verify" placeholder="请输入短信验证码" name="mobile_verify">
          <input type="button" class="btn-get-code" name="get_code" value="获取验证码">
        </div>
        <input class="login-input-box" type="password" placeholder="请输入密码" name="password">
        <text class="login-error-msg"></text>
        <input class="" type="submit" value="注 册">
        <div class="login-input-box-other">
          <a type="span" href="" class="login-checkbox-session"></a>
          我同意<a href="">《服务条款》</a>&nbsp;&nbsp;和&nbsp;&nbsp;<a href="">《本站隐策略》</a>
          <a href="/login/">去登录&nbsp;&gt;</a>
        </div>
      </form> -->
    </div>
	</div>
</template>